source/ldap.d(209,73): Error: `@safe` constructor `ldap.LDAPConnectionException.this` cannot call `@system` function `std.conv.to!string.to!(char*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(char*).to` is declared here source/ldap.d(226,44): Error: cannot take address of local `ret` in `@safe` function `ldapInit` source/ldap.d(292,26): Error: `@safe` function `ldap.LDAPConnection.setOption` cannot call `@system` function `ldap.enforceLDAP!("setOption", "source/ldap.d", 292LU).enforceLDAP` source/ldap.d(214,28): `ldap.enforceLDAP!("setOption", "source/ldap.d", 292LU).enforceLDAP` is declared here source/ldap.d(298,26): Error: `@safe` function `ldap.LDAPConnection.getOption` cannot call `@system` function `ldap.enforceLDAP!("getOption", "source/ldap.d", 298LU).enforceLDAP` source/ldap.d(214,28): `ldap.enforceLDAP!("getOption", "source/ldap.d", 298LU).enforceLDAP` is declared here source/ldap.d(305,21): Error: `@safe` function `ldap.LDAPConnection.bind` cannot call `@system` function `ldap.enforceLDAP!("bind", "source/ldap.d", 305LU).enforceLDAP` source/ldap.d(214,28): `ldap.enforceLDAP!("bind", "source/ldap.d", 305LU).enforceLDAP` is declared here source/ldap.d(335,52): Error: cast from `immutable(char)*` to `char*` not allowed in safe code source/ldap.d(336,30): Error: cast from `immutable(char)*` to `char*` not allowed in safe code source/ldap.d(337,56): Error: `@safe` function `ldap.LDAPConnection.search` cannot call `@system` function `std.array.array!(MapResult!(__lambda10, string[])).array` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/array.d(101,21): `std.array.array!(MapResult!(__lambda10, string[])).array` is declared here source/ldap.d(337,16): Error: `array(map(attrs)) ~ null.ptr` cannot be used in `@safe` code, use `&array(map(attrs)) ~ null[0]` instead source/ldap.d(338,25): Error: cannot take address of parameter `serverControls` in `@safe` function `search` source/ldap.d(338,42): Error: cannot take address of parameter `clientControls` in `@safe` function `search` source/ldap.d(338,79): Error: cannot take address of local `res` in `@safe` function `search` source/ldap.d(366,34): Error: `@safe` function `ldap.LDAPConnection.search` cannot call `@system` function `std.conv.to!string.to!(char*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(char*).to` is declared here source/ldap.d(374,58): Error: cannot take address of local `berP` in `@safe` function `search` source/ldap.d(461,26): Error: `@safe` function `ldap.LDAPAuthenticationEngine.setOption` cannot call `@system` function `ldap.enforceLDAP!("setOption", "source/ldap.d", 461LU).enforceLDAP` source/ldap.d(214,28): `ldap.enforceLDAP!("setOption", "source/ldap.d", 461LU).enforceLDAP` is declared here source/ldap.d(467,26): Error: `@safe` function `ldap.LDAPAuthenticationEngine.getOption` cannot call `@system` function `ldap.enforceLDAP!("getOption", "source/ldap.d", 467LU).enforceLDAP` source/ldap.d(214,28): `ldap.enforceLDAP!("getOption", "source/ldap.d", 467LU).enforceLDAP` is declared here /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.